package com.sdx.console.spread.dao;

import com.sdx.console.spread.entity.SpreadChannel;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.engine.PageQuery;
import org.beetl.sql.core.mapper.BaseMapper;

import java.util.List;

@SqlResource("spread.channel")
public interface SpreadChannelDao extends BaseMapper<SpreadChannel> {
    public PageQuery<SpreadChannel> queryByCondition(PageQuery page);
    public void batchDelPromoteRecordByIds( List<String> ids);
    int selectCodeCount(String promoteCode);
}
